home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / sys / dos / djgpp / cf / initlib.in < prev    next >
Encoding:
Text File  |  1994-08-11  |  2.1 KB  |  80 lines

  1. # -----------------------------------------------------------------------
  2. # $Id: initlib.in,v 1.2 1994/08/10 20:23:44 mjl Exp $
  3. #
  4. # Maurice LeBrun
  5. # IFS, University of Texas at Austin
  6. # 24-Jul-1994
  7. #
  8. # Initializations for building PLplot library.
  9. # -----------------------------------------------------------------------
  10.  
  11. # Package major/minor version number, for shared libraries on some systems
  12. # (e.g. SunOS).  Warning: apps linked to it may fail on major version
  13. # changes (depending on OS).
  14.  
  15. MAJOR_VERSION    = 4
  16. MINOR_VERSION    = 99
  17.  
  18. # Utilities
  19.  
  20. RANLIB        = ranlib
  21. ARLIB_BUILD    = ar q
  22. SHLIB_BUILD    = @SHLIB_BUILD@
  23.  
  24. # Flags and other miscellanea
  25.  
  26. CC_FLAGS    = -c -O -DGNU386 -I.
  27. CC_FLAGS_DEMOS    = -c -O -DGNU386 -I.
  28. SHLIB_CCFLAGS    = @SHLIB_CCFLAGS@
  29. SHLIB_F77FLAGS    = @SHLIB_F77FLAGS@
  30. SHLIB_SUFFIX    = @SHLIB_SUFFIX@
  31. SALIB_SUFFIX    = @SALIB_SUFFIX@
  32.  
  33. # Hacks to deal with optimizer failures.
  34.  
  35. CC_FLAGS_SCCONT = -c -O -DGNU386 -I.
  36. CC_FLAGS_XWIN    = -c -O -DGNU386 -I.
  37.  
  38. # Dependent directories
  39.  
  40. PLLIB_DIR    = ../../../../lib
  41. PLFNT_DIR    = ../../../../lib
  42. PLLIB_PATH    = $(PLLIB_DIR)/
  43. PLFNT_PATH    = $(PLFNT_DIR)/
  44.  
  45. # The library components
  46.  
  47. LIB_OBJS_SO    = $(CORE_OBJ) $(TCL_OBJ) $(TK_OBJ) $(ADD_DRIVERS_OBJ) $(FSTUB_OBJ)
  48. LIB_OBJS_SA    = $(TCL_OBJ_SA) $(TK_OBJ_SA) $(FSTUB_OBJ_SA)
  49. LIB_OBJS    = $(LIB_OBJS_SO) $(LIB_OBJS_SA)
  50.  
  51. # Library names
  52.  
  53. PLLIB_AR    = $(PLLIB_PATH)libplplt$(LIB_TAG).a
  54. PLLIB_SH    = $(PLLIB_PATH)libplplt$(LIB_TAG)$(SHLIB_SUFFIX)
  55. PLLIB_SA    = $(PLLIB_PATH)libplplt$(LIB_TAG)$(SALIB_SUFFIX)
  56.  
  57. # This is used for making the install versions of plrender & plserver
  58. # (Must relink after installing shared library!)
  59.  
  60. LIB_INSTALL    = -L$(LIB_DIR2) -lplplt$(LIB_TAG)
  61.  
  62. # These are what we link against.
  63.  
  64. PLLIB_LDC    = -L$(PLLIB_DIR) -lplplt$(LIB_TAG)
  65. PLLIB_LDF    = -L$(PLLIB_DIR) -lplplt$(LIB_TAG)
  66.  
  67. # Default is to build library(s) and utils.
  68.  
  69. everything: libs plrender$E pltek$E $(TCL_EXE) $(TK_EXE)
  70.  
  71. # Clear the suffix list to prevent problems.
  72.  
  73. .SUFFIXES:
  74. .SUFFIXES: $O .cc .c .f .h .fm4
  75.  
  76. # Inference rules, not specific to archive or shared libraries.
  77.  
  78. .fm4.f:
  79.     $(M4) $(M4_FLAGS) $< >$*.f
  80.